package com.regretbuying.front.dao.order;

import com.regretbuying.pojo.Order;
import com.regretbuying.pojo.OrderDetails;

import java.util.List;

public interface OrderDao {

    //生成订单
    int addOrder(Order order) ;

    //生成订单详情
    int addOrderInfo(List<OrderDetails> orderDetailsList) ;

    //根据订单编号获取订单基本信息和详情
    Order getOrderInfo(String orderNum) ;

    //修改订单
    int updateOrder(Order order) ;
}
